package com.sc.admin.model.entity.sys;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.admin.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    *@Author shen chen
    *@Date  2024-12-17
    */

/**
 * 字典类型表
 */
@Schema(description = "字典类型表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_dict_type")
public class SysDictType extends BaseEntity {
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(description = "id")
    private Long id;

    @TableField(value = "`name`")
    @Schema(description = "类型名称")
    private String name;

    @TableField(value = "code")
    @Schema(description = "类型编码")
    private String code;

    @TableField(value = "`status`")
    @Schema(description = "状态(0:正常;1:禁用)")
    private Integer status;

    @TableField(value = "remark")
    @Schema(description = "备注")
    private String remark;


    private static final long serialVersionUID = 1L;
}